package com.bd.scm.domain.models.placeWhitelist;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @ClassName PlaceWhitelist
 * @Description TODO
 * @Author YH
 * @Date 2019/11/13 14:30
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PlaceWhitelistImport extends BaseRowModel {

    @ExcelProperty(value = "工号" ,index = 0)
    private String userNo;
    @ExcelProperty(value = "姓名" ,index = 1)
    private String userName;
    @ExcelProperty(value = "场所名称" ,index = 2)
    private String depAcName;
    @ExcelProperty(value = "门禁规则编号" ,index = 3)
    private String userMj;

    @Override
    public String toString() {
        return "PlaceWhitelistImport{" +
                "userNo='" + userNo + '\'' +
                ", userName='" + userName + '\'' +
                ", depAcName='" + depAcName + '\'' +
                ", userMj='" + userMj + '\'' +
                '}';
    }
}
